<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>定位</title>
    <style>
        .content{
            width: 800px;
            height: 600px;
            border: 1px solid #999;
            padding: 20px;
            margin: 100px;
        }
        .box{
            width: 200px;
            height: 200px;
            background: green;
            position: relative;/*相对的*/
            right: 10px;
            bottom: 10px;
        }
    </style>
</head>
<body>
<h1>定位</h1>
<hr>
<div class="content">
    <div class="box"></div>
    <p>hello how do you do?</p>

</div>

</body>
</html>